package com.ruoyi.provider.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.provider.domain.AhctSurvey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 孙楠
* @description 针对表【ahct_survey(查勘详情表)】的数据库操作Mapper
* @createDate 2024-05-15 14:23:08
* @Entity generator.domain.AhctSurvey
*/

@Mapper
public interface AhctSurveyMapper extends BaseMapper<AhctSurvey> {

    List<AhctSurvey> selectSurveyList(AhctSurvey ahctSurvey);

    void insertSurvey(AhctSurvey ahctSurvey);

    void updateSurvey(AhctSurvey ahctSurvey);

    void updateSurveyType(@Param("case_type") Integer case_type, @Param("case_number") String case_number);

    void deleteSurvey(Integer id);

    void updateSurveyState(AhctSurvey ahctSurvey);

    String selectCaseNumber(String case_number);
}
